package com.xuecheng.content.convert;

import com.xuecheng.content.entity.CourseBase;
import com.xuecheng.content.entity.CoursePub;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface CoursePubConvert {

    CoursePubConvert INSTANCE = Mappers.getMapper(CoursePubConvert.class);

    //courseBase-->coursePub
    CoursePub courseBase2coursePub(CourseBase courseBase);
}
